home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / windows / winpak31.zip / MODS.TXT < prev    next >
Text File  |  1993-03-24  |  2KB  |  48 lines

  1. ON BAUD RATES, UARTS, MODIFICATIONS AND SO FORTH
  2.  
  3.  
  4. Generally, using the highest baud rate possible gives the best
  5. overall performance, since once the CPU goes to read a byte from
  6. the com port, it wastes a lot of machine cycles waiting 
  7. for each little bit to come in across the serial port.  The
  8. slower the baud rate, the longer it waits.   While it is 
  9. "waiting" it will be unresponsive to user actions such as mouse 
  10. and key clicks.
  11.  
  12. However, Windows in standard mode usually cannot handle baud rates
  13. of 9600 or higher.  This is due to the fact, that in standard mode
  14. Windows has to switch CPU states and reset the CPU every time it
  15. reads from the UART (Universal Asynchronous Receiver/Transmitter),
  16. an integrated circuit that handles serial I/O for the CPU.  The
  17. 16540 or older 8250 UART can only buffer one byte at a time. 
  18. If another comes in before the CPU reads it, a condition called 
  19. "hardware overrun" occurs.  
  20.  
  21. If you need to use a 286 in Standard Mode, altering the [standard]
  22. section of SYSTEM.INI with "FasterModeSwitch=1" may help.
  23. This has no effect on 386 models, and may cause some older models
  24. of the IBM AT or compatibles to hang due to an imcompatible BIOS.
  25.  
  26. In 386 enhanced mode, 19200 baud should be OK, especially if
  27. you have a newer type of UART, the 16550, which has a 16 byte
  28. buffer.  
  29.  
  30. If you're using the PCB-88, you can replace the existing 16540
  31. chip (look for a large-ish dual inline package with PC16450CN on it)
  32. with the newer 16550AF or AFN.  They are completely pin-compatible.
  33. This should eliminate any overrun problems. As usual when working 
  34. with computers, beware of static discharges.
  35.  
  36. If you're using the PK-88, or a Tnc that connects to your
  37. RS-232 port, the UART chip will be on the serial card in your
  38. computer.  If you are unsure which type of UART you have, you
  39. can run MSD.EXE (found in the Windows directory) to find out
  40. which it is.  This must be run from DOS, and you need to reboot
  41. the computer after running it because it has a bug and messes
  42. up the port BIOS information.  
  43.  
  44. There is one potential problem with 19200 baud, however.
  45. I don't know if it is a problem with the pcb-88, or a slight
  46. incompatibility in my system, but my computer tends to 
  47. spontaneously reboot every once in awhile when using the 19200
  48. baud rate.  Switching to 9600 baud cures the problem for me.